@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="indicationInfoForm">

            <input type="hidden" id="id" value="">

            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input id="name" name="指标名称" underline="true"/>
                    <#input id="weight" name="权重" underline="true"/>
                    <#input id="num" name="排序" underline="true"/>

                    <#input id="pName" name="上级" underline="true"
                    hidden="pid" readonly="readonly"
                    clickFun="IndicationInfoDlg.showIndicationSelectTree(); return false;"
                    style="background-color: #ffffff !important;"
                    selectFlag="true" selectId="parentTreeDiv" selectTreeId="parentTree" selectStyle="width:244px !important;"/>
                </div>

                <div class="col-sm-6">
                    <#input id="threshold" name="阈值" underline="true"/>
                    <#input id="maxVal" name="历史最大值" underline="true"/>
                    <#input id="minVal" name="历史最小值" underline="true"/>
                    <#select id="bigIsBetter" name="值类型" underline="true">
                       <option>请选择</option>
                       <option value="0">越小越优型</option>
                       <option value="1">越大越优型</option>
                    </#select>
                </div>

            </div>

            <!-- 父级选择框 -->
            <div id="parentIndicationMenu" class="indicationContent"
                 style="display: none; position: absolute; z-index: 200;">
                <ul id="parentIndicationMenuTree" class="ztree tree-box" style="width: 245px !important;"></ul>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check"
                    clickFun="IndicationInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser"
                    clickFun="IndicationInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/indication/indication/indication_info.js"></script>
@}
